package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.XxfbNbggBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface XxfbNbggService extends BaseService<XxfbNbggBean> {

	XxfbNbggBean getXxfbNbggBeanById(String id) throws Exception;
	
	void removeXxfbNbggBeanById(String id) throws Exception;
	
	void removeXxfbNbggBeanByIds(String ids) throws Exception;
	
	XxfbNbggBean saveXxfbNbggBean(XxfbNbggBean crm) throws Exception;
	
	XxfbNbggBean updateXxfbNbggBean(XxfbNbggBean crm) throws Exception;
	
	Page<XxfbNbggBean>  findXxfbNbggBeanByCond(XxfbNbggBean bean,
			Page<XxfbNbggBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveXxfbNbggBeanExt(String sql) throws Exception;

	String findXxfbNbggBeanExtCreate(String tableName) throws Exception;

	String findXxfbNbggBeanExtEdit(String tableName, String id)
			throws Exception;

	String findXxfbNbggBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasXxfbNbggBeanExtData(String tableName, String id)
			throws Exception;
}